#ifndef NORMALWIDGET_H
#define NORMALWIDGET_H

#include <QWidget>
#include <QtMath>
#include <QtDebug>
#include <QPainter>
#include <QPainterPath>
#include <QElapsedTimer>

class NormalWidget : public QWidget
{
    Q_OBJECT
public:
    explicit NormalWidget(QWidget *parent = nullptr);
    ~NormalWidget();

protected:
    void paintEvent(QPaintEvent *event);

private:
    void initializeOriginArraies(int num);

private:
    QElapsedTimer *time;
    qreal *originX;
    qreal *originY;
    int pointsAmount;
    int count;
};

#endif // NORMALWIDGET_H
